home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / FADALTAP.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.6 KB  |  140 lines

  1. name Fadal Format 1 Rigid Tapping
  2.  
  3. % 00
  4. / 00
  5. O >4
  6. L >4
  7. N >4
  8. g >2.1 G
  9. G >2
  10. S >4
  11. H >2
  12. D >2
  13. M >2
  14. T >2
  15. R ->3.>4
  16. r +->3.>4 R
  17. z ->3.>4 Z
  18. E >2
  19. X ->3.>4
  20. Y ->3.>4
  21. Z ->3.>4
  22. I ->3.>4
  23. J ->3.>4
  24. K ->3.>4
  25. F >4.>2
  26. Q ->3.>4
  27. P ->3.>4
  28. ( 00
  29. d >3.>4
  30. e >3.>4
  31. f >3.>4
  32.  
  33. ModalLetters X Y Z F                  # List of letters that are modal
  34.  
  35. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal
  36.  
  37. Sequence#s N 0 1 1                    # Char, freq, incr & start
  38. First#? N                             # Y or N  'Output 1st sequence no.
  39. Last#? N                              # Y or N  'Output last sequence no.
  40.  
  41. HCode X                               # X or X U  'Horizontal char.
  42. VCode Y                               # Y or Y V  'Vertical char.
  43. Dcode Z                               # Depth char.
  44. FeedCode F                            # Feed rate char.
  45.  
  46. Comment ( )                           # Begin End comment char.
  47.  
  48. Spindle 3 4 5                         # Cw, ccw & stop m codes
  49. Coolant 8 9 7                         # On, Off & Mist m codes
  50. DComp 41 42 40                        # Left, Right & Cancel m codes
  51. LComp 43 49                           # On & Off codes
  52.  
  53. Feed G1                               # Linear move
  54. Rapid G0                              # Rapid positioning word
  55. Cw G2                                 # Circular move clockwise
  56. Ccw G3                                # Circular move counter clockwise
  57. Inc/Abs G 91 90                       # Inc & Abs char. & values
  58. CtrCode I J                           # I J or R or I J K L
  59.  
  60. Spaces? Y                             # Y or N  'Spaces between words
  61.  
  62. Sbackdoor supressheader
  63.  
  64. Incremental? N                        # Y or N  'Inc or abs output
  65. CtrIncremental? Y                     # Y or N  'Inc or abs I & J
  66. ByQuadrants? N                        # Y or N  'Break arcs at quadrants
  67.  
  68. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  69.  
  70. Drill                                 # Drilling canned/manual cycle
  71. G81 G99 R[Vclear] z[D] F[FRate] X[H] Y[V]
  72. end cancel
  73.  
  74. Peck                                  # Pecking canned/manual cycle
  75. G83 G99 R[Vclear] z[D] F[FRate] Q[VBite] X[H] Y[V]
  76. end cancel
  77.  
  78. LTap                                  # Left handed tapping cycle
  79. G74 G99 R[Vclear] z[D] F[Frate] Q[VBite] X[H] Y[V]
  80. end cancel
  81.  
  82. Tap 2                                 # Tapping canned/manual cycle
  83. g84.2
  84. g84.1 G99 r[Vclear] z[D] X[H] Y[V] F[Speed] Q[VBite]
  85. r[Vclear] X[H] Y[V] Z[D]
  86. end cancel
  87.  
  88. Ream                                  # Reaming canned/manual cycle
  89. G85 G99 R[Vclear] z[D] F[FRate] X[H] Y[V]
  90. end cancel
  91.  
  92. Bore                                  # Boring canned/manual cycle
  93. G86 G99 R[Vclear] z[D] F[FRate] X[H] Y[V]
  94. end cancel
  95.  
  96. Back                                  # Back boring canned/manual cycle
  97. G76 G99 R[Vclear] z[D] F[FRate] Q[Sclear] X[H] Y[V]
  98. end cancel
  99.  
  100. Cancel                                # Cancel a canned/manual cycle
  101. G80
  102. end
  103.  
  104. StartCode                             # Start of the program
  105. %0
  106. O[Program#]
  107. End
  108.  
  109. 1stToolChange                         # First tool change
  110. M6 T[Tool] 
  111. G0 G90 S[Speed] M[Direct] X[H] Y[V]
  112. H[Lcomp] M[Cool] Z[D]
  113. End
  114.  
  115. Infeed                                # Enable cutter comp
  116. G1 G[Side] X[H] Y[V] F[FRate]
  117. end
  118.  
  119. Outfeed                               # Disable cutter comp
  120. G40 X[H] Y[V]
  121. Z[D]
  122. end
  123.  
  124. ToolChange                            # Secondary tool changes
  125. M5 M9
  126. G0 G49 G90 Z0
  127. M6 T[Tool]
  128. G0 G90 S[Speed] M[Direct] X[H] Y[V]
  129. H[Lcomp] M[Cool] Z[D]
  130. End
  131.  
  132. EndCode                               # End of the program
  133. M5 M9
  134. G0 G49 G90 Z0
  135. E0 X0 Y0
  136. M6 T[Tool1]
  137. M2
  138. %0
  139. End
  140.